home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Mac OS USB DDK_v1.0.1 / Examples / PrinterClassDriver / ChooserPACK.cp < prev    next >
Encoding:
Text File  |  1998-09-03  |  622 b   |  23 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ChooserPACK.cp
  3.  
  4.     Contains:    Implementation of the Chooser's PACK jump table.
  5.  
  6. */
  7.  
  8. #include "Chooser.h"
  9.  
  10. /**************************************************************************************
  11.     Note:    Main must get linked at the very beginning of the first file because
  12.             the jump table must be the first entry in the PACK resource. This
  13.             means that no headers that contain linked routines (eg, inlines)
  14.             can be included before this routine.
  15.  **************************************************************************************/
  16. asm void main(void);
  17. asm void main(void)
  18. {
  19.         // Jump Table
  20.         jmp        Chooser
  21. };
  22.  
  23.